import Vue from 'vue'
import App from './App.vue'
//引入router
import router from './router/router.js';
//引入vuex实例
import store from './vuex/store.js'
//引入mint-ui
//UI框架组件
import MintUI from "mint-ui";
import "mint-ui/lib/style.css";
//配置axios，例如一些基础的路径和超时设置等
import axios from "axios";
var ax = axios.create({
  baseURL:process.env.NODE_ENV === "production"?'http://netease.bluej.cn/':'http://netease.bluej.cn/'
})
//挂载在1Vue对象上
Vue.prototype.axios = ax;

import VueJsonp from 'vue-jsonp'
Vue.use(VueJsonp)


//使用UI
Vue.use(MintUI);
Vue.config.productionTip = false
import "./assets/css/reset.css";
new Vue({
  router:router,
  //vuex
  store:store,
  render: h => h(App)
}).$mount('#app')
